package study.week05.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 学生
 * </p>
 *
 * @author lahuan
 * @since 2021-12-04
 */
@ToString
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("test_student")
@ApiModel(value="TestStudent对象", description="学生")
public class TestStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "姓名")
    @TableField("student_name")
    private String studentName;

    @ApiModelProperty(value = "信息")
    @TableField("student_detail")
    private String studentDetail;


}
